package com.goods.business.service;

import com.goods.common.vo.business.ConsumerVO;

import java.util.List;
import java.util.Map;

public interface ConsumerService {
    Map findConsumerList(Integer pageNum, Integer pageSize, String name, String address, String contact);

    void add(ConsumerVO consumerVO);

    ConsumerVO edit(Long id);

    void update(ConsumerVO consumerVO);

    int deleteById(Long id);

    List<ConsumerVO> findAll();

}
